home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net 2002 March
/
DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin
/
pc
/
PC Software
/
free_browsing
/
DavesQckSearchDbar3-14
/
dqsd.exe
/
searches
/
hs.xml
< prev
next >
Wrap
Text File
|
2002-08-30
|
3KB
|
81 lines
<search function="hs">
<name>HotScripts.com</name>
<description>
Search for code snippets in a multitude of programming languages. Searches all languages by default.<br/>
<div class="helpboxDescLabels">Switches:</div>
<table class="helpboxDescTable">
<tr><td>/new</td><td> - </td><td>New listings</td></tr>
<tr><td>/asp</td><td> - </td><td>ASP</td></tr>
<tr><td>/c</td><td> - </td><td>C and C++</td></tr>
<tr><td>/java</td><td> - </td><td>Java</td></tr>
<tr><td>/javascript</td><td> - </td><td>JavaScript</td></tr>
<tr><td>/php</td><td> - </td><td>PHP</td></tr>
<tr><td>/perl</td><td> - </td><td>Perl</td></tr>
<tr><td>/python</td><td> - </td><td>Python</td></tr>
<tr><td>/remotehosts</td><td> - </td><td>Remote Hosts</td></tr>
<tr><td>/tools</td><td> - </td><td>Tools and Utilities</td></tr>
<tr><td>/xml</td><td> - </td><td>XML</td></tr>
</table>
<div class="helpboxDescLabels">Example:</div>
<table class="helpboxDescTable">
<tr><td>hs parse /javascript</td></tr>
</table>
</description>
<category>Computers</category>
<link>http://www.hotscripts.com/</link>
<contributor>Monty Scroggins, Ryan Edwards, Brent Beardsley</contributor>
<form name="hsf"
action="http://www.hotscripts.com/search/"
method="get">
<input type="hidden" name="query"/>
<input type="hidden" name="category" value=""/>
<input type="hidden" name="bool" value="AND"/>
</form>
<script><![CDATA[
function hs(q)
{
var args = parseArgs(q, "new, asp, c, java, javascript, php, perl, python, remotehosts, tools, xml");
if( nullArgs("hs",q) )
return false;
else if( args.switches.length == 1 )
{
switch( args.switches[0].name )
{
case "new": openSearchWindow("http://www.hotscripts.com/New/"); return false;
case "asp": document.hsf.category.value = "ASP"; break;
case "c": document.hsf.category.value = "C"; break;
case "java": document.hsf.category.value = "Java"; break;
case "javascript": document.hsf.category.value = "JavaScript"; break;
case "php": document.hsf.category.value = "PHP"; break;
case "perl": document.hsf.category.value = "Perl"; break;
case "python": document.hsf.category.value = "Python"; break;
case "remotehosts": document.hsf.category.value = "Remote_Hosts"; break;
case "tools":
case "utils": document.hsf.category.value = "Tools"; break;
case "xml": document.hsf.category.value = "XML"; break;
}
document.hsf.query.value = args.q;
submitForm(hsf);
}
else if( args.switches.length > 1 )
nullArgs("hs","?");
else
{
document.hsf.category.value = "all";
document.hsf.query.value = args.q;
submitForm(hsf);
}
}
]]></script>
<copyright>
Copyright (c) 2002 David Bau
Distributed under the terms of the
GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>